import {
  Hookable,
  createDebugger,
  createHooks,
  flatHooks,
  mergeHooks,
  serial,
} from "hookable";

// #init
// Create a hookable instance
const hooks = createHooks();

// #register
// Hook on 'call::hello'
hooks.hook("call::hello", () => {
  console.log("Hello World");
});

// #use
// Call 'hello' hook
hooks.callHook("call::hello");
